package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 收货地址
 * @author Administrator
 *
 */
@TableMapperAnnotation(tableName = "t_add", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class Add extends Domain{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	Integer id;
	/**
	 * 用户id
	 * */
	@FieldMapperAnnotation
	Integer userId;
	/**
	 * 兑换商品名称
	 * */
	@FieldMapperAnnotation
	String convertName;
	/**
	 * 收货人
	 * */
	@FieldMapperAnnotation
	String name;
	/**
	 * 
	 * */
	@FieldMapperAnnotation
	Integer sex;

	/**
	 * 电话
	 * */
	@FieldMapperAnnotation
	String tel;
	/**
	 * 地址
	 * */
	@FieldMapperAnnotation
	String placeAdd;
	/**
	 * 地址
	 * */
	@FieldMapperAnnotation
	String adddz;
	/**
	 * 创建时间
	 * */
	@FieldMapperAnnotation
	Long createTime;
	/**
	 * 状态 1正常 2禁用
	 * */
	@FieldMapperAnnotation
	Integer state;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getConvertName() {
		return convertName;
	}
	public void setConvertName(String convertName) {
		this.convertName = convertName;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPlaceAdd() {
		return placeAdd;
	}
	public void setPlaceAdd(String placeAdd) {
		this.placeAdd = placeAdd;
	}
	public String getAdddz() {
		return adddz;
	}
	public void setAdddz(String adddz) {
		this.adddz = adddz;
	}
	public Long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	

}
